#include <lv_main.h>
#include "gui_guider.h"
#include "events_init.h"

lv_ui guider_ui;

lv_font_t *lv_font_montserratMedium_13_bin = NULL;
lv_font_t *lv_font_montserratMedium_15_bin = NULL;
lv_font_t *lv_font_montserratMedium_17_bin = NULL;
lv_font_t *lv_font_montserratMedium_18_bin = NULL;
lv_font_t *lv_font_montserratMedium_20_bin = NULL;
lv_font_t *lv_font_montserratMedium_23_bin = NULL;
lv_font_t *lv_font_montserratMedium_25_bin = NULL;
lv_font_t *lv_font_montserratMedium_28_bin = NULL;
lv_font_t *lv_font_montserratMedium_29_bin = NULL;
lv_font_t *lv_font_montserratMedium_30_bin = NULL;
lv_font_t *lv_font_montserratMedium_35_bin = NULL;
lv_font_t *lv_font_montserratMedium_36_bin = NULL;
lv_font_t *lv_font_montserratMedium_47_bin = NULL;
lv_font_t *lv_font_montserratMedium_121_bin = NULL;
lv_font_t *lv_font_montserratMedium_133_bin = NULL;
lv_font_t *lv_font_montserratMedium_145_bin = NULL;
lv_font_t *lv_font_montserratMedium_182_bin = NULL;

void init_font(void)
{
    lv_font_montserratMedium_13_bin = lv_binfont_create("S:/res/font/montserratMedium_13.bin");
    lv_font_montserratMedium_15_bin = lv_binfont_create("S:/res/font/montserratMedium_15.bin");
    lv_font_montserratMedium_17_bin = lv_binfont_create("S:/res/font/montserratMedium_17.bin");
    lv_font_montserratMedium_18_bin = lv_binfont_create("S:/res/font/montserratMedium_18.bin");
    lv_font_montserratMedium_20_bin = lv_binfont_create("S:/res/font/montserratMedium_20.bin");
    lv_font_montserratMedium_23_bin = lv_binfont_create("S:/res/font/montserratMedium_23.bin");
    lv_font_montserratMedium_25_bin = lv_binfont_create("S:/res/font/montserratMedium_25.bin");
    lv_font_montserratMedium_28_bin = lv_binfont_create("S:/res/font/montserratMedium_28.bin");
    lv_font_montserratMedium_29_bin = lv_binfont_create("S:/res/font/montserratMedium_29.bin");
    lv_font_montserratMedium_30_bin = lv_binfont_create("S:/res/font/montserratMedium_30.bin");
    lv_font_montserratMedium_35_bin = lv_binfont_create("S:/res/font/montserratMedium_35.bin");
    lv_font_montserratMedium_36_bin = lv_binfont_create("S:/res/font/montserratMedium_36.bin");
    lv_font_montserratMedium_47_bin = lv_binfont_create("S:/res/font/montserratMedium_47.bin");
    lv_font_montserratMedium_121_bin = lv_binfont_create("S:/res/font/montserratMedium_121.bin");
    lv_font_montserratMedium_133_bin = lv_binfont_create("S:/res/font/montserratMedium_133.bin");
    lv_font_montserratMedium_145_bin = lv_binfont_create("S:/res/font/montserratMedium_145.bin");
    lv_font_montserratMedium_182_bin = lv_binfont_create("S:/res/font/montserratMedium_182.bin");
}

void lv_main(void)
{
    init_font();

    setup_ui(&guider_ui);
    events_init(&guider_ui);
}
